package com.aaa.ps;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * fileName:PowerServiceApp
 * description:
 * author:zz
 * createTime:2020/8/25 16:20
 * version:1.0.0
 */
@SpringBootApplication
@MapperScan("com.aaa.ps.dao")
@EnableDiscoveryClient
@EnableSwagger2 //开启swagger功能
@EnableTransactionManagement
//@ComponentScan("com.aaa.common.util")
@EnableFeignClients  //开启feign功能
public class PowerServiceApp {
    public static void main(String[] args) {
        SpringApplication.run(PowerServiceApp.class,args);
    }
}
